
#include "head.h"
#include "key.h"
#include "led.h"

int main()
{
	u8 i=0;
	led=0;
	while(1)
	{
		i=key_scan();
		if(i==KEY1PRESS)
		{
			led=!led;
		}
	}

	return 0;
}